package com.recharge.api.dto.request;

import lombok.Data;
import javax.validation.constraints.*;

@Data
public class TransactionRequest {
    @NotBlank private String userid;
    @NotBlank private String token;
    @NotBlank private String opcode;
    @NotBlank @Pattern(regexp = "^[0-9]{10}$") private String number;
    @NotNull @DecimalMin("10.00") private Double amount;
    @NotBlank private String transid;
}